package com.norrielm.GooglePlusPosts.models;

/**
 * Represent data from a post.
 * 
 * @author Lauren Norrie (norrielm)
 */
public class Post {
	
	private String text = "";
	private String name = "";

	public Post(String name, String text) {
		this.name = name;
		this.text = text;
	}
	
	public void setName(String name) {
		this.name = name;
	}

	public String getName() {
		return name;
	}

	public void setText(String text) {
		this.text = text;
	}

	public String getText() {
		return text;
	}
		
	public String toString() {
		return name + ": " + text;
	}
}
